package com.niuwa.p2p.service.common;

import com.niuwa.p2p.vo.customer.AttachmentVo;

public interface ICommonService {

	/**
	 * 添加附件
	 * 
	 * @param attachmentFileName 附件名称
	 * @return 添加附件后的附件ID号 
	 */
	public long addAttachment (String attachmentFileName) throws Exception;
	
	/**
	 * 根据用户ID获取附件及用户相关信息
	 * @param custId
	 * @return
	 * @throws Exception
	 */
	public AttachmentVo getAttachmentBySelective(long custId) throws Exception;
}
